package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("调解书模板实体")
public class MediationTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="template_number", type= IdType.AUTO)
    @ApiModelProperty(value = "模板编号")
    private Long templateNumber;

    @ApiModelProperty(value = "区域id")
    private Long aId;

    @ApiModelProperty(value = " 1-客户签署 2-律师签署")
    private Integer contractType;

    @ApiModelProperty(value = "模板名称")
    private String templateName;

    @ApiModelProperty(value = "模板内容")
    private String templateContent;

    @ApiModelProperty(value = "模板状态0禁用 1可用")
    private Long templateState;

    @ApiModelProperty(value = "创建人")
    private String founder;

    @ApiModelProperty(value = "创建时间")
    private Date creationTime;

    @ApiModelProperty(value = "修改人")
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    private Date modifierTime;

    @ApiModelProperty(value = "状态0禁用 1可用")
    private Long state;

    @ApiModelProperty(value = "模板图")
    private String formworkDrawing;

    @ApiModelProperty(value = "待签署文件id")
    private String fileId;

    @ApiModelProperty(value = "文件下载地址")
    private String fileUploadUrl;

    @ApiModelProperty(value = "文件盖章x坐标")
    private Long positionX;

    @ApiModelProperty(value = "文件盖章y坐标")
    private Long positionY;

    @ApiModelProperty(value = "制作模板控件的编号")
    private String templateId;

    @ApiModelProperty(value = "是否调解书")
    private Long isMediationDocument;

}